#ifndef _DisPlay_h
#define _DisPlay_h
#include "zf_common_headfile.h"
#include "Image.h"

extern int FuYa_Key;

#define Page_Num_MAX  9   //每页菜单最多数据
typedef struct
{
    std::string data;         //字符串
    void (*fun) (void);   //选项函数
} Typedef_Menue ;

typedef struct
{
    uint16 String_X;
    uint16 String_Y;
    uint16 Digital_X;
    uint16 Digital_Y;
    uint16 Title_X;
    uint16 Title_Y;
}Typedef_Index ;  //字符串和数字显示位置

typedef struct
{
        std::string data;//显示字符串
        float *Num;//数据
}Typedef_Float_Num;

typedef struct
{
        std::string data;//显示字符串
        int *Num;//数据
}Typedef_Int_Num;

void Page_1(void);
void Page_2(void);
void Page_3(void);
void Page_4(void);
void Page_5(void);
void Page_6(void);
void Page_7(void);
void ShiZi_Page(void);
void Huandao_Left_Page(void);
void Huandao_Left_Page2(void);

void Change_Pid(void);
void Change_Speed(void);
void Change_YuanSu_Flag(void);
void Change_TuXiang(void);
int Get_SwitchValue();
int Get_KeyValue();
void Draw_X_In_Point_IPS200(uint8(*image)[image_w], uint8 point_y, uint8 point_x, uint16 colour);
void Show_Special_point();
void Show_Line(uint8 gade);
void Page_Control(void);
void Menue_Show();

#endif